package com.neusoft.elm.po;

import java.math.BigDecimal;

public class OrderDetailet {
	
	 private Integer odId;
	 private Integer orderId;
	 private Integer foodId;
	 private Integer quantity;
	 
	//商品快照信息
	    private String foodName;
	    private BigDecimal foodPrice;
	    private String foodImg;
	    private String foodExplain;
	 public String getFoodName() {
			return foodName;
		}

		public void setFoodName(String foodName) {
			this.foodName = foodName;
		}

		public BigDecimal getFoodPrice() {
			return foodPrice;
		}

		public void setFoodPrice(BigDecimal foodPrice) {
			this.foodPrice = foodPrice;
		}

		public String getFoodImg() {
			return foodImg;
		}

		public void setFoodImg(String foodImg) {
			this.foodImg = foodImg;
		}

		public String getFoodExplain() {
			return foodExplain;
		}

		public void setFoodExplain(String foodExplain) {
			this.foodExplain = foodExplain;
		}

	//多对一：所属食品
	 private Food food;
	 //get、set ... ...

	public Integer getOdId() {
		return odId;
	}

	public void setOdId(Integer odId) {
		this.odId = odId;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getFoodId() {
		return foodId;
	}

	public void setFoodId(Integer foodId) {
		this.foodId = foodId;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Food getFood() {
		return food;
	}

	public void setFood(Food food) {
		this.food = food;
	}
	 
}
